package com.knife.message.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.knife.common.entity.BaseDto;
import com.knife.oauth.domain.entity.IamUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author tianhao.luo@hand-china.com
 * @version 1.0
 * @date 2022年06月12日 星期日 4:53 下午
 * @description
 * @since 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class KnifeUserMessage extends BaseDto {

    @TableId
    private Integer userMessageId;
    private Long userId;
    private Integer messageId;
    private Integer sendFlag;

    @TableField(exist = false)
    private IamUser user;
}
